package com.tjsinfo.tjsoa.workplan.sqlmap;

import java.util.UUID;


/**
 * WorkPlanDefine entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class WorkPlanDefine implements java.io.Serializable {

	// Fields

	private String id;
	private Integer tjsUserByUserId;
	private Integer tjsUserByDefineId;
	private String type;

	// Constructors

	/** default constructor */
	public WorkPlanDefine() {
		//id = getUUID();
	}

	

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}



	/**
	 * @return the tjsUserByUserId
	 */
	public Integer getTjsUserByUserId() {
		return tjsUserByUserId;
	}



	/**
	 * @param tjsUserByUserId the tjsUserByUserId to set
	 */
	public void setTjsUserByUserId(Integer tjsUserByUserId) {
		this.tjsUserByUserId = tjsUserByUserId;
	}



	/**
	 * @return the tjsUserByDefineId
	 */
	public Integer getTjsUserByDefineId() {
		return tjsUserByDefineId;
	}



	/**
	 * @param tjsUserByDefineId the tjsUserByDefineId to set
	 */
	public void setTjsUserByDefineId(Integer tjsUserByDefineId) {
		this.tjsUserByDefineId = tjsUserByDefineId;
	}
//	public String getUUID(){
//		// 生成UUID形式的id
//		String uuid = UUID.randomUUID().toString();
//		uuid = uuid.substring(0,8)+uuid.substring(9,13)+uuid.substring(14,18)+uuid.substring(19,23)+uuid.substring(24); 
//		return uuid;
//	}
}